import React, {Component} from 'react';
import {StyleSheet, Animated, Platform, Text, View} from 'react-native';


export default class SplashPage extends Component {
  constructor(props) {
    super(props);
    this.state = {
      fadeAnim: new Animated.Value(1), // 透明度初始值设为0
    };
  }
  render() {
    return (
      <View>
        <Text style={{fontSize: 36, color: '#333'}}>
          home肯定是南方了拿到手了DNF
        </Text>
      </View>
    );
  }

  async componentDidMount() {
    console.log('====================');
    this.props.navigation.replace('HomePage');
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
});
